package modelLayer;

public class Calculations {

	char [] holder;
	float temp;
	float swag;
	float yolo;
	float cool;
	float lame;
	
	
	public Calculations()
	{
	}

	public void setArraySize(int size)
	{
		holder = new char[size];
	}
	public void setStringInArray(String fName, String lName)
	{
		int keep = 0;
		String lower = fName.toLowerCase() + lName.toLowerCase();
		holder = lower.toCharArray();
		System.out.println(holder);
		System.out.println(holder.length);
		for (int i = 0; i < holder.length; i++ )
		{
			System.out.println(holder[i]);
			keep += holder[i];
			temp += keep;
			System.out.println(temp);
			
		}
	}
	public float getArraySize()
	{
		return temp;
	}
	public void setSwag(int age)
	{
		System.out.println("Swag is : " + swag);
		// temp = temp  / (float) age;
		System.out.println("Swag is : " + swag);
		swag = temp;
		System.out.println("Swag is : " + swag);
	}
	public void setYolo(int age)
	{
		yolo = swag + (float) age;
		yolo = (float) Math.cos(yolo);
		
	}
	public void setCool(int age)
	{
		cool = (float) (swag - (Math.cos(yolo) + (float) age));
	}
	public void setLame(int age)
	{
		if ( cool < swag)
		{
			lame = (float) ((Math.cos(yolo) + (float) age) + (cool + swag));
		}
		else
		{
			lame = (float) ((Math.cos(yolo) + (float) age) - (cool + swag));
		}
	}
	public float getSwag()
	{
		return swag;
	}
	public float getYolo()
	{
		return yolo;
	}
	public float getCool()
	{
		return cool;
	}
	public float getLame()
	{
		return lame;
	}
}
